package com.frejoys.common.dto.admin;

import com.frejoys.common.dto.common.PageDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class UserListDto extends PageDto {
    // @NotNull(message = "{600}")
    @Schema(type = "String", name = "nickname", description = "昵称", required = false, defaultValue = "")
    private String nickname;

    // @NotNull(message = "{600}")
    @Schema(type = "String", name = "phone", description = "电话", required = false, defaultValue = "")
    private String phone;

    @Schema(type = "Integer", name = "role", description = "角色：0普通用户，1达人，2代理人，4商家，512管理员", required = false, defaultValue = "1")
    private Integer role;
}
